Skip to content

Fix LLM EntityLinker task factory typo #13840

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cdjameson
Copy link

Description

Change the factory string for the EntityLinker to "llm_entitylinker" from "llm_entity_linker" so that it works, as per https://github.com/explosion/spacy-llm/blob/main/spacy_llm/tasks/__init__.py#L33.
This appears to be the only place it is documented.

Types of change

Documentation change to reflect the API as currently implemented.

Checklist

  • I confirm that I have the right to submit this contribution under the project's MIT license.
    - [ ] I ran the tests, and all new and existing tests passed.
  • My changes don't require a change to the documentation, or if they do, I've added all required information.

Change the factory string for the EntityLinker to "llm_entitylinker" so it works, as per https://github.com/explosion/spacy-llm/blob/main/spacy_llm/tasks/__init__.py#L33. This appears to be the only place it is documented.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant